-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The vm_id coming in from API is a string. #17674
Conversation
LGTM - thanks @lfu !! |
6fc4282
to
bb86d41
Compare
Checked commit lfu@bb86d41 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@bzwei @lfu Just so you are aware, this change with Before - "options": {
"config_info": {
"transformation_mapping_id": "3",
"vm_ids": [
"1",
"2"
]
}
} After - "options": {
"config_info": {
"transformation_mapping_id": "3",
"actions": [
{
"vm_id": "4",
"pre_service": false,
"post_service": false
}
]
}
} We have a couple of places in the code where we reference Just wanted to check if it would be possible to re-introduce the Also, would this change be backported to Gaprindashvili? /cc @priley86 |
v2v feature is not officially released. I don't think we have to maintain backward compatibility. Please ping PM if it is a concern. Sorry it requires more front end code changes, but it is not reasonable to keep vm ids and playbooks separate. |
BTW, you can omit
if the value is |
@AparnaKarve Are you ok with @bzwei response here or do we need to discuss? |
@gmcculloug I think we can merge this. Would this be backported to Gaprindashvili? |
Just got the confirmation that we are planning on supporting pre and post playbook in 5.9.4, which means, this PR and #17627 should be gaprindashvili/yes. |
@miq-bot add_label blocker |
If this can be backported, please add the gaprindashvili/yes label |
@miq-bot add_label gaprindashvili/yes |
The vm_id coming in from API is a string. (cherry picked from commit 1bb13c5) https://bugzilla.redhat.com/show_bug.cgi?id=1608420
Gaprindashvili backport details:
|
Followup of #17627.
Fixes ManageIQ/manageiq-v2v#471.
@miq-bot assign @gmcculloug
@miq-bot add_label enhancement, transformation
cc @AparnaKarve @bzwei